bitkeeper revision 1.1159.1.418 (41967182dDHIjEk8n6G0gWEq2g771w)
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Sat, 13 Nov 2004 20:41:38 +0000 (20:41 +0000)
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Sat, 13 Nov 2004 20:41:38 +0000 (20:41 +0000)
cleanup sync w/ head.

xen/common/schedule.c

index 939f12edd246e8c4b26fca9c0c94183c1fa1f03f..86b51c07545934dd31cbd8d98eefcb2763a8cba1 100644 (file)
@@ -492,18 +492,17 @@ static void s_timer_fn(unsigned long unused)
 static void t_timer_fn(unsigned long unused)
 {
     struct exec_domain *ed = current;
-    struct domain *d = ed->domain;
 
     TRACE_0D(TRC_SCHED_T_TIMER_FN);
 
-    if ( !is_idle_task(d) )
+    if ( !is_idle_task(ed->domain) )
     {
-        update_dom_time(d);
+        update_dom_time(ed->domain);
         send_guest_virq(ed, VIRQ_TIMER);
     }
 
-    t_timer[d->processor].expires = NOW() + MILLISECS(10);
-    add_ac_timer(&t_timer[d->processor]);
+    t_timer[ed->processor].expires = NOW() + MILLISECS(10);
+    add_ac_timer(&t_timer[ed->processor]);
 }
 
 /* Domain timer function, sends a virtual timer interrupt to domain */